package top.lyjwn.todo.common.properties;


import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(
        prefix = "lyjwn.weixin"
)
public class WeixinProperties {


    private Mch mch;

    private Bjnews bjnews;

    private Applet applet;

    public static class Mch {
        private String id;
        private String appid;
        private String apiKey;
        private String domainName;
        private String certificate;
        private String mchSeriaLno;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getApiKey() {
            return apiKey;
        }

        public void setApiKey(String apiKey) {
            this.apiKey = apiKey;
        }

        public String getDomainName() {
            return domainName;
        }

        public void setDomainName(String domainName) {
            this.domainName = domainName;
        }

        public String getCertificate() {
            return certificate;
        }

        public void setCertificate(String certificate) {
            this.certificate = certificate;
        }

        public String getMchSeriaLno() {
            return mchSeriaLno;
        }

        public void setMchSeriaLno(String mchSeriaLno) {
            this.mchSeriaLno = mchSeriaLno;
        }
    }

    public static class Bjnews {
        private String appid;
        private String appsecret;
        private String domain_name;
        private String auth_domain_name;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getAppsecret() {
            return appsecret;
        }

        public void setAppsecret(String appsecret) {
            this.appsecret = appsecret;
        }

        public String getDomain_name() {
            return domain_name;
        }

        public void setDomain_name(String domain_name) {
            this.domain_name = domain_name;
        }

        public String getAuth_domain_name() {
            return auth_domain_name;
        }

        public void setAuth_domain_name(String auth_domain_name) {
            this.auth_domain_name = auth_domain_name;
        }
    }

    public static class Applet{
        private String appid;
        private String appsecret;
        private String domain_name;
        private String auth_domain_name;

        public String getAppid() {
            return appid;
        }

        public void setAppid(String appid) {
            this.appid = appid;
        }

        public String getAppsecret() {
            return appsecret;
        }

        public void setAppsecret(String appsecret) {
            this.appsecret = appsecret;
        }

        public String getDomain_name() {
            return domain_name;
        }

        public void setDomain_name(String domain_name) {
            this.domain_name = domain_name;
        }

        public String getAuth_domain_name() {
            return auth_domain_name;
        }

        public void setAuth_domain_name(String auth_domain_name) {
            this.auth_domain_name = auth_domain_name;
        }
    }
}
